@font-face {
    font-family: 'iconfont';  /* Project id 2712482 */
    src: url('//at.alicdn.com/t/font_2712482_tvkhgvz8zap.woff2?t=1627812486876') format('woff2'),
         url('//at.alicdn.com/t/font_2712482_tvkhgvz8zap.woff?t=1627812486876') format('woff'),
         url('//at.alicdn.com/t/font_2712482_tvkhgvz8zap.ttf?t=1627812486876') format('truetype');
  }
body{
    .swiper-container{
        width: 1226px;
        margin: 0 auto;
        height: 460px;
        position: relative;
    }
    .menu{
        position: absolute;
        left: 0;
        width: 234px;
        height: fit-content;
        padding: 20px 0;
        z-index: 2;
        background-color: rgba($color: black, $alpha: 0.2);
        .list{
            li{
                
                position: relative;
                &:hover{
                    background-color: #ff6700;
                    
                }
                a{
                    font-size: 14px;
                    color: white;
                    position: relative;
                    display: block;
                    padding-left: 30px;
                    height: 42px;
                    line-height: 42px;
                }
                .iconfont{
                    position: absolute;
                    top: 0;
                    right: 10px;
                    font-size: 24px;
                    color: white;
                    line-height: 42px;
                }
            }
        }
    }
    .swiper-wrapper{
        .swiper-slide{
            img{
                width: 100%;
                height: 100%;
            }
        }
    }

    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        border: 2px solid #fff;
        border-color: hsla(0,0%,100%,.3);
        border-radius: 10px;
        overflow: hidden;
        background: rgba(0,0,0,.4);
        opacity: 1;
        &:hover{
            background: hsla(0,0%,100%,.4);
            border-color: rgba(0,0,0,.4);
            cursor: pointer;
        }
    }

    .swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction{
        width: 400px;
        left: auto;
        right: 30px;
        bottom: 20px;
        text-align: right;
    }
    .swiper-pagination-bullet-active {
        background: hsla(0,0%,100%,.4);
        border-color: rgba(0,0,0,.4);
        cursor: pointer;
    }

    
    .swiper-button-prev{
        width: 41px;
        height: 69px;
        left:234px;
        background-color: rgba($color: #000000, $alpha: 0);
        &::after{
            color: #b0b0b0;
            font-size: 24px;
        }
        &:hover{
            &::after{
                color: white;
            }
            background-color: rgba($color: #000000, $alpha: .5);
            border-top-right-radius: 10%;
            border-bottom-right-radius: 10%;
        }
    }
    .swiper-button-next{
        width: 41px;
        height: 69px;
        right: 0;
        background-color: rgba($color: #000000, $alpha: 0);
        &::after{
            color: #b0b0b0;
            font-size: 24px;
        }
        &:hover{
            &::after{
                color: white;
            }
            border-top-left-radius: 10%;
            border-bottom-left-radius: 10%;
            background-color: rgba($color: #000000, $alpha: .5);
        }
    }
}

body .home-hero{
    width: 1226px;
    margin: 0 auto;
    display: flex;
    margin-top: 14px;
    justify-content: space-between;
    .home{
        background-color: #5f5750;
        width: 234px;
        height: 170px;
        display: flex;
        flex-flow:row wrap;
        justify-content: space-between;
        &>div{
            cursor: pointer;
            display: flex;
            flex-flow: column nowrap;
            justify-content: center;
            align-items: center;
            width: 76px;
            height: 82px;
            &:hover{
                p{
                    color: white;
                }
            }
            .img{
                width: 24px;
                height: 24px;
                img{
                    width: 100%;
                }
            }
            p{
                margin-top: 10px;
                font-size: 12px;
                color: #b0b0b0;
            }
        }
    }
    .list-img{
        width: 316px;
        height: 170px;
        background-color:red;
        img{
            width: 100%;
            height: 100%;
        }
    }
}

body main{
    width: 100%;
    background-color: #f5f5f5;
    margin-top: 20px;
    padding-bottom: 20px;
    .shopping-list{
        width: 1226px;
        margin: 0 auto;
        box-sizing: border-box;
        overflow: hidden;
        .banner{
            width: 1226px;
            height: 120px;
            margin: 20px 0;
            img{
                width: 100%;
            }
        }
        &>.title{
            width: 1226px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            h2{
                font-size: 22px;
                font-weight: 200;
                line-height: 58px;
                color: #333;
            }
        }
        .shopping-show{
            width: 1226px;
            display: flex;
            justify-content: space-between;
            .brick-item{
                flex-basis:  234px;
                height: 614px;
                background-color: black;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            ul.list{
                flex: 1;
                height: 614px;
                margin-left: 14px;
                display: flex;
                justify-content: space-between;
                align-content: space-between;
                flex-flow: row wrap;
                li{
                    width: 234px;
                    height: 300px;
                    padding: 20px 0;
                    display: flex;
                    flex-flow: column nowrap;
                    align-items: center;
                    background-color: #fff;
                    .img{
                        width: 160px;
                        height: 160px;
                        img{
                            width: 100%;
                        }
                    }
                    h3.title{
                        margin-top: 20px;
                        font-size: 14px;
                        font-weight: normal;
                    }
                    p.des{
                        margin: 0 10px 10px;
                        height: 18px;
                        font-size: 12px;
                        color: #b0b0b0;
                    }
                    p.price{
                        span.cur{
                            color:#ff6700
                        }
                        span.org{
                            color: #b0b0b0;
                            text-decoration:line-through
                        }
                    }
                }
            }
            
        }   
    }
}